import request from "../utils/request.js";

export function getSuggestionList(data) {
  return request({
    url: "/api/suggestion/list",
    method: "get",
    data,
  });
}

export function addSuggestionList(data) {
  return request({
    url: "/api/suggestion/add",
    data,
    method: "post",
  });
}

export function getReplyList(data) {
  return request({
    url: "/api/suggestion/reply/list",
    data,
    method: "get",
  });
}

export function replySuggestion(data) {
  return request({
    url: "/api/suggestion/reply/add",
    data,
    method: "post",
  });
}
